package org.xg.study.hin.po;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName Course
 * @date 2021/9/26 14:59
 **/
@Data
public class Course {
    private Integer id;
    private String name;
    //学生Student的集合作为其属性，维护多对多关联关系
    private Set<Student> students = new HashSet<>();
}
